package context

type SaveShopcartContxt struct {
	GoodsId uint64 `json:"goodsId" binding:"required" msg:"请选中一个商品"`
	Nums    int32  `json:"nums" binding:"required" msg:"请输入数量"`
	Checked bool   `json:"checked"`
}

type OrderContext struct {
	PageNo   int32 `json:"pageNo" binding:"required" msg:"请输入分页"`
	PageSize int32 `json:"pageSize" binding:"required" msg:"请输入每页显示多少条"`
}

type OrderStatusContext struct {
	OrderNo     string `json:"orderNo" binding:"required" msg:"请输入订单编号"`
	OrderStatus string `json:"orderStatus" binding:"required" msg:"请输入订单状态"`
}

type OrderCreateContext struct {
	Address  string `json:"address" binding:"required" msg:"请输入收货地址"`
	Username string `json:"username" binding:"required" msg:"请输入收货姓名"`
	Post     string `json:"post" `
	Mobile   string `json:"mobile" binding:"required" msg:"请输入收货手机"`
}
